Bug 881681: Don't try to reset context attributes when they are already frozen r=bz