[hector_worldmodel_geotiff_writer] fixed some crash issues