Fixed drawing glitches if nothing to draw.