Merge pull request #5312 from ligfx/cleanupupdatedrawrectangle RenderBase: clean up UpdateDrawRectangle