Added a more permanent fix for switches crashing on level end.