Fixes MacOSX resize events
Merge pull request #21 from blackberry/next

Fixes MacOSX resize events