Until a cat ran by and the dog took off after it