changed order of parameters of the function screenPosFromPos[F]