Fixes bug with borders in publication thumbnails.