I had similar problems when I had accidentally bound the same keystroke in both my hotbar (infinibar in this case) AND the Blizzard keybinding menu. The keystroke was attempting to do two different things and the result was unpredictable, sometimes the hotbar function worked, sometimes it didn't.