Hide inspector when dragging (fixes #2229)