I've built a rather large house with a high roof. I put up light everywhere to make it bright enough that a monster won't spawn in the house.
When I go to sleep in that house, monsters always spawn. So, I made a 4 square wide room, with only a bed, a door and 2 lights. Door closed, monsters still spawn inside the room!
Is that a bug or am I doing something wrong?