Fix no resizing for initial size

If container is 100% window's width and I reduce the window's size, when
I maximize the window to it's initial size, filling was not working.