further FlxTypedGroup optimization from @sergey-miryanov