fix up dragging issue after open (see #5)