restore temporary flags at ScrollWheelToScrollWheel