Fix a layer thickness of 0