We use cachedWindowWidth in renderKey, but if it's not set the default state is for a button to have width of 0px, and then we have to resize later, so we need to initialize it with proper values.