Suppress exception if sprite definition is null.