Fixes compile error on Linux introduced by previous commit.
Fixes crash in Font when minimizing windows, introduced by previous commit.

Fixed #1153
Merge branch 'next' of https://github.com/blackberry/GamePlay into next
Merge pull request #1154 from sgrenier/next

Fixes issues introduced by previous commit