Check if there's currently a camera before configuring it

Otherwise may cause problems if the MainActivity lacks RosCameraPreviewView