There's not much of an explanation to give, really. "in the corner" is pretty much a fixed phrase for the context in question, namely, an interior corner in a room. He was sitting in the corner.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.