Update size based on container size changes

... and not on window size changes.