Fix error on pointers to refLayerThickness.