Fixed transition between submenu and editor and now correctly hide the submenu when the canvas is touched.