Fixes look when trying to create the gradients.