Bug with links of thumbnails