Fixed thumbnail generation with default size. See issue #270