Use FlxG.safePut() to fix possible crashes in destroy() functions