FlxPath: fixed potential null errors in restart() and destroy()