bug fix for pausing during boss battle