Hide preview when context menu is visible