Changed the Thumbnailator implementation to speed up image's thumbnail
creation