remove preview window closing when the cursor moves