Updated some issues with the dynamic resizing.