Attempt to fix maximization

See #27: Maximized windows are resized after desktop switch