Fix commit diff view glitches