Inaccurate left/right button history


#1

Steps to reproduce:
hold left, release left and immediately hold right on the next frame (this is easier to do in frame step mode)

The result:
button history doesn’t update properly
it only seems to happen with left and right inputs