Align an object to the mouse pointer