Fix maximized windows jumping to a different monitor

Commit e5b46747d67f6f75ef06272d91f7f8cfc36af058 upstream
Merge pull request #103 from AlbertJP/windowjump

Fix maximized windows jumping to a different monitor