Fix comment-dwim in the Pan mode