Fixed bug with thumbnail titles non-hidden

With modified themes .title { visibility: visible; } style was added,
which caused titles of empty thumbnails stay visible.