fixes #17682: ListItem variable height layout on resize() has negative impact on performances.

Refer: https://bugs.dojotoolkit.org/ticket/17682