Stop casting on right click