Dixed a small bug causing game states to be destroyed from within a system while they were running.