restoring canvas transitions