adjust mouse coordinate calculation to take scaling into account. Fixes mouse problems when a world program goes fullscreen