I believe it has to do with the delay between the client and server. I recall there's a slight delay between when you press a button, and when the casting bar appears. This same delay is how soon you can press the button before the casting bar disappears and have it "queue up"