Fix fallback opacity detection