Fixed some keyboard issues on linux