Reverted the old code for openfl versions <= 1.4.0