setLayout should set value to default layout if value is falsy.

- Fixes Issue #192.