Prevent snapping resized window to hidden windows
Workspace::adjustWindowPosition() properly handles hidden windows and it also excludes more window types, but Workspace::adjustWindowSize() only shares a small fraction of those checks due to getting out of sync because of code duplication.