Allowing better null handling in thmb nail generation