I noticed when I was transferring photos from camera to computer that if the camera was sitting above the mouse/keybord pickup it caused interference resulting in some keystrokes not registering.
Could it be something similar for you?
When you say keyboard keeps sticking did you mean the keys or the cursor ? The keys are what one assumes but the mention of batteries leaves room for doubt. I guess you could even mean it sticks to the table ;-)