Modified left click event handling and deleted right click event handling in editor mode