Use 'page.style' instead of 'page.layout'

The value for 'layout' is unreliable, and depends heavily on when the
value is retrieved.