Fix inset legend backgroud when only one legend item - #588