Fixed compatibility with the latest flixel version