Dimension of visible sets in the plane