Line string disappears in openlayers map on panning

Vector Layer disappears when maps pans/zooms using openlayer version 4.6.5