Fixed table draw problems on win32/64