Spamming a spell as soon as one finishes causes the spell to burn the cooldown of the next spell without firing that spell. This video displays it happening with rays and with r90s (instant cast vs casting time spells). When a cooldown is burned by the bug, it plays the animation but not actually firing the spell.