Position Checking different in playing?

I think you might be misinterpreting global coordinate system vs viewport coordinates. See here my reply to another post, where I explained the difference, the same could apply to your scenario: