Fix color on resource creation