Bug 1074557 - Remove the lock in nsWindowMediator. r=Neil