Fix maximize in Firefox
Merge pull request #2903 from wallin/fix_firefox_maximize

Fix maximize in Firefox