got scaling of mouseCoords to work