[4.0] Fix a custom shader issue in ImageView