They just need to make it so that casting a spell takes priority over... whatever shuffling through that menu. So even if you have someone right clicked, casting a spell cancels it.