Fix Firefox resizing bug on load.