Bug fixes
Merge branch 'master' into font-rendering