environment: Disable fullscreen unredirect during all transitions
When there is a transition, it's likely that we are animating some part of the desktop, and in such situations we don't want to unredirect fullscreen windows.
This fixes unwanted unredirection when e.g. hiding a modal dialog by re-enabling the unredirection after the animation has finished, instead of when it starts.