Get into the mini-game by clicking the toilet paper in the bottom right (When facing the door)
It took a while to get this, and I'm not exactly sure what triggered it.
I put the hat on his head without throwing, I put the hat directly into his face, and I threw the hat from a distance.
I think THROWING the hat is what caused this to unlock.