Make sure everybody is playing by the same rules. You may be mixing two different coordinate systems.
Typically the "box" would live in a world with the origin at the center of the screen and the y-axis pointing up.
The mouse is probably using the upper left corner of the screen as the origin, with the y-axis pointing down.
Typically the "box" would live in a world with the origin at the center of the screen and the y-axis pointing up.
The mouse is probably using the upper left corner of the screen as the origin, with the y-axis pointing down.