Replay replays in correct order for hit detection
Remove unused local variable
Remove unused code in the canvas replay code
More clean-ups in the canvas replay code