added saving and restoring canvas navigation on adding canvas to tab widget