Fix sleeping bug in non-Play states.