Fixed the PlatformMacOSX resize issue.
Merge pull request #1500 from seanpaultaylor/next

Fixed the PlatformMacOSX resize issue.