Revert "Trace paint events."

This reverts commit 37c6eca7df1ac19369e2782d80c1d0377f276d37.