[[ Bugfix-11496 ]] Redrawing gradients when accelerated rendering is on can cause lines to appear in certain cases.