Fixed null pointer exception issue in PeekLayoutFractory#createContentLayout().