fixed context menu and find centering line even if it is already selected