Make sure that switched out pokemon get their moves cancelled
There are several issues alike to the one fixed in 62611b926bc2daa07c55065ca26d7f02ca10e458