restore openfl compat semantics for flash