tweaks for latest openfl HTML5