#1102 Fixed loading of layout options, when custom options are null