Fix for resize bug when user shrinks window and table is 100% width