Now take the pencil and let it lean against the side of the glass. Now look through the glass at the pencil. Notice that it appears bent. This is the effect of refraction or bending of light. So if light is bent when passing through a transparent material does this mean that everything we see through our clear glass windows is actually distorted and not in the position that it appears to be.
Refraction does occur but the effect of the bent light actually cancels itself out.
Remember that a clear glass has 2 surfaces that the light passes through - the inside surface of the glass and the outside surface of the glass. When the light passes through the inside surface of the glass the path is bent in one direction and when the light passes back out through the outside surface of the glass it is bent in the other direction, hence canceling out the effect of refraction. Everything is pretty much located exactly where it appears to be.