SoftwareRenderer: Moving the rectangle reset to the clear.
Fixes the glitches on the editor. But I don't remember what the logic of this is. I'll have to have a closer look later.