Added a fix for attachment pages images that were getting streched.