Issue #5245: Fix a bug that abnormal opacity