			Layers.Base_gui.GUI_preview.zoom(500);
		}, 100);

		//do this after system changed zoom position
		setTimeout(function () {
			//move visible area to begin of rectangle
			Layers.Base_gui.GUI_preview.zoom_to_position(500, 500);		//change zoom position
		}, 500);

		//action after 1 s - for preview purpose
		setTimeout(function () {
			//move visible area so rect is in center

			var visible_area = Layers.Base_gui.get_visible_area_size();

			//center of rect
			var cx = canvas_width/2;
			var cy = canva