I had this problem on the virtual box virtual machine running Ubuntu, that some times, the numpad keys worked and some times they didn't. I thought it was some bug, or some issue with the guest additions, or even that it was related to starting the virtual machine while the numpad led is activated.
Nothing like that. I though I could share the solution.