Fixing keypresses.