Fixed bug with mouse coordinates.