Prevent re-rendering during computeLayout