fixed dog spawn bug on scene change