[WIP] Rework handling of skipped features in replay

There is a bug in the handling of skipped features in the canvas replay when replaying the hit detection instructions. This PR aims at fixing the bug.

(This is WIP, needs more testing)