I just body blocked Ozzy out.
If he passed the imaginary line, I body blocked him back out, and made him wait. After he waited for a few seconds, he was rewarded.
After repeating this several times, he got it down.

It might be easier if you mark the floor with something like a piece of tape.
It's kind of funny, because now ANY room can be, "Out of the kitchen." Haha.