This bug is also present in the arcade version. I wanted to keep the game very close to the original.
But this bug also bothers me. And that's not the only one. But if you consider that the code is from 1981, it is very impressive from the developers back then.