Properly transform between game and screen coordinates