Bugfixes for kitty-sniper.

(I forgot how to math.)