handle points generated on image