Fixed multiple thumbnails issue on image attachment page.