listen for mouseup in 3d engine