- Added forceHeadlessOnSlot function.