Given that you've never focused the editor when these buttons are being pressed, things like this can happen and it isn't really unexpected or something that would change. Simply clicking into the editor is likely to resolve the problem (as it will change where the cursor is positioned).