Use haxe timers instead of manual enter frames