Guard uses of Clipping.getMedia() since it can return null.