I have had the same issue on my surface pro2. I have one of attachable keyboards. If it gets wonky I disconnect and reconnect it. Usually fixes the issue.