improved conditions for re-rendering chunks