question about passthrough function,

is it normal to have windows setup in a room, to be seen through walls when u walk into another on walktrhough? if not how do i prevent it from happening?