Fixed color preview bug