Revert "Fixed setResolution() (Bug #550)."

This reverts commit d18cb9c049a199e255b97979eb05d7e1179c8fd1.
Fix multi-window support.
Merge pull request #556 from libavg/bugfixes/multiwindow

Bugfixes/multiwindow