diff --git a/focal_point.module b/focal_point.module
index 93f5605..221b06f 100644
--- a/focal_point.module
+++ b/focal_point.module
@@ -26,8 +26,10 @@ function focal_point_entity_presave(EntityInterface $entity) {
       if ($value->getType() == 'image' && $entity->{$value->getName()} !== NULL) {
         // Loop through all values for this field. Its cardinality might be > 1.
         foreach ($entity->{$value->getName()} as $item) {
-          $focal_point = new FocalPoint($item->target_id);
-          $focal_point->saveFocalPoint($item->focal_point);
+          if (isset($item->focal_point)) {
+            $focal_point = new FocalPoint($item->target_id);
+            $focal_point->saveFocalPoint($item->focal_point);
+          }
         }
       }
     }
