The hat is over the cat
Ha! That is what I was going to say. If the cat was in the hat, you wouldn't see it.
That was my answer. The cat is UNDER the hat, not IN it.