Fix Blender crash when 'tile_size' = 0