fix cannot rotate transition bug