Fix edit on dbclick bug