Core: Check updateOnResize on attaching window resize callback