Use FlxPoint.get() and FlxRect.get() everywhere