Fix bug with thumbnail size