Add null check to FlxTypedGroup.resolveGroup()