Fix for styles and gradient overlap