Fixed gradient overlay issue on iPad