fix: Workspace: Ensure maximize and fullscreen is properly restored
https://bugs.activestate.com/show_bug.cgi?id=104776

(integrated from trunk branch change 08e3dd8 by Todd Whiteman <toddw@activestate.com>)