Prevent a widget from being grabbed if it's part of a screen
that is being hidden.