transparent glass material refract the light
Glass refracts light, this is what it usually does so there's nothing wrong about it. I don't know why you setup your glass like that, although a lot of people do it.
Most of the time I simply use a Glass BSDF with an IOR of 1.45 or a Principled BSDF with Transmission set to 1.
This should work if you use it correctly: do your windows have a thickness or are they just flat planes? Real windows have a thickness, if you have flat planes the refraction works as if your furniture was embedded inside a glass cube.
The setup you have there is mostly used by people because of balck artifacts they experience when using simple glass. To avoid this, go to the Render Properties &gt; Light Paths &gt; Max Bounces and set a high value for Transparent like 64 or more.
On your windows this shouldn't matter, but sometimes with more complex glass objects there are still dark parts that are unwanted. In this case you have to increase the max bounces for Glossy. To have an effect, the Total bounces have to increased to this value as well (this is not necessary for the Transparency bounces).
The last problem is, which might be another reason for your setup, that the glass still absorbs a lot of light and your room looks quite dark from the outside. Then of course you have to mix in a Transparency BSDF node to make the glass transparent or invisible for certain rays. Although in reality it is like that - sun and sky are really really bright light sources, so standing outside and taking a picture without over-exposure results in dark windows. Or if you want to see what's inside, the outside gets very very bright.
I'm sorry, that was quite a long answer to say: the strange refraction might come from simple planes as windows. But I can't tell from your screenshots.