removing extraneous draw calls on midiview and SampleWaveformView