Check opacity before increasing to 1