Fix cannon-shooting bug