fix manual rotation when no device plugged in on firefox