Fixed issue with resizing the container.