Fix a few statements in the case where useStaticLayout is a computed property
Merge pull request #1019 from nicolasbadia/static-layout

Fix a few statements in the case where useStaticLayout is a computed property