Enforcing that _computeLayout must be called before _render

For @tkimcoop , I think is mostly regression tests aimed at animations.

Fixes #867
Wrong assert message.