Correct gradient issue on layout page