Fix SpatialView directive