Fix systrace scope bug