Fix a custom shader issue in ImageView