Fix trace on touch devices