Fixed weird bug where keyboard stopped working