Window Manager: Bugfix for maximize