Familiar scenario. Can even happen with two cats.
You can see where the cat has been marking the corner of the wall.