Fixes for group coordinates (coordinates now also generated before group is added to canvas)