Try using Blue + Yellow shots. The splash damage might be large enough to kill them.(But, Yes. Annoying bug.)
Or only Yellow (maybe +Green), then stand next to the wall.
Same concept, but larger splash area.