Protect against fast double clicking in the editor.