message: Fix window call
diff: @@ -39,6 +39,7 @@ export function removeFromCurrentlyPressedKeys(key: string | string[]): void {
  }
  (() => {
  + if (typeof window !== 'undefined') {
  window.addEventListener('DOMContentLoaded', () => {
  document.addEventListener('keydown', e => {
  pushToCurrentlyPressedKeys(e.key)
  @@ -48,4 +49,5 @@ export function removeFromCurrentlyPressedKeys(key: string | string[]): void {
  removeFromCurrentlyPressedKeys(e.key)
  })
  })
  + }
  })()
  