Possible fix to resizing on load.