LPS-33828 Apply same fix to LayoutSetPrototype

Reviewed by @sergiogonzalez.