Ensure that initDimensions fires before caching