Ensured that all notes stop when the orientation changes

Closes #1