Made PartsLayer deterministic.