Bug 948955 - AddMaskEffect handles locking failure. r=bjacob