Fixed table not being hidden correctly