Fix window resize callback
Merge pull request #1 from sftrabbit/master

Fix window resize callback