Fixed bug in screenToGround function.