added ability to deselect currently selected objects from the canvas if focusing outside the said canvas window