added getMousePos()