fix for layoutBuilder undefined on iphone - regression