fix: Bug when setting transparency in color picker (#14764)