Set some flags for better gradient rendering.