Modify flag for MotionNotify events also.