fix transition between MOUSE_MODE_WARP_CENTER and MOUSE_MODE_NONE