Implement mouseMoved to fix #29.