fixes for pianoroll editor