fix ocasionally-gray-menu bug