Correct bug in which initial load didn't resize.