minor changes in main canvas click handler (throwing exception if active item is of unknown type)