Revert "Made //undo and //redo disregard global masks."
There was no provided rational and it was allowing exploits.
This reverts commit cfb19eba9b5167ec1267791e5d8e8fe358acdc26.