scene transition bug fix