Fix failing spec for rendering layout