Fix coloring issue when creating geometry