The green area indicates the spawn area. When the game decides to spawn a mob, it first chooses a random tile within this rectangle spawn area (62-84 tiles to the left/right, 35-47 tiles up/down). If the picked tile is empty, the game then searches a solid surface right under it and spawn the mob on there. For more info about mob spawning, just check out this wiki page: http://terraria.gamepedia.com/NPC_spawning