Fixed color lerp bug in dot class