make it trap the mouse and emit mouse movement events