fix click event and fix scale