Huh, that's weird. I don't really have a way to test this, so I'm glad you were able to find a workaround.
QZERTY keyboards have a history of messing up games like this