Bug fix: move clip stored matrix to thread-local storage instead of
mutex-protected member variable