Add antialias to the gradients in the cases they showed jagged borders
(cherry picked from commit 3bd318ada8d00fad2db94b835e0c5a2486fac1f4)