Not sure if this is the same problem, but I've had that happen a few times when switching between characters. I started to map all my hotkeys the same way on my characters and it hasn't happened in a while. I.e. skill 1 is always A, skill 2 is always S, and so on.