function popProps() {
        var oldProps = propStack[stackLen - 1];
        stackLen--;
        var newProps = propStack[stackLen - 1];
        dirty = true;
    }
Clears buffers on the given context as specified in mask