Fixing an issue when a maximized window is closed.

Hello. I had an issue when closing a maximized window that was solved by removing these lines.

The following two videos illustrates my issue:

- [Before](http://brunelli.me/media/Grava%C3%A7%C3%A3o%20de%20tela%20de%2005-11-2014%2022:56:26.webm)

- [After](http://brunelli.me/media/Grava%C3%A7%C3%A3o%20de%20tela%20de%2005-11-2014%2022:57:20.webm)

I'm using this version for a few days with no problems so far.