Fixed minor scaling bug messing up mouse coordinates.