Mousedown and mousemove events update mouse coordinates