Why are my cubemaps distorted?

I’m trying to use cubemaps as interior. However the images keep getting distorted, the edges are skewed. When I use the same material but with a simple xyz texture, it does work properly. What is causing my textures to get skewed?![alt text][1]