fix for FLX_MOUSE_ADVANCED