Yep, it works now. Weird issue. It might be a browser compatibility problem? I'm on Vivaldi, which shouldn't cause problems (it uses Chromium to render pages), but maybe the way the browser handles its UI drawing prevents it from getting focus for keys.