unified transformer and canvas bounds updating