Fixed bug where resizeVisWrapper would be called when the table wasn't visible, which caused the size of the divs to be changed incorrectly.