[#301] quick fix for `clearTimer`

this is not fully fixing it, as if multiple timer are added and deleted
in the same frame, all indexes will be screwed up