fixed sidebar drawing glitches