Fixed keyboard cut/paste issue