Flash compat for Vector2D

Also fixed an issue with mouse coordinates in the case MouseManager was
bound off stage.