fix clickedObject onSelect bug