Compatibility fixes for Starling Graphics latest

Tested with Starling 1.5