fixed model ids, double clicking  on shapes
fixed incorrect visiblitiy
fixed errors on adding new shapes