fix floating label color when invalid