Bug 981370 - Make MousePosTracker use a Set rather than manage an array itself. r=dao