crop html return mousePos