Fix #1226 by removing a misplaced trigger marker clear