Fixed erroneous raised exception when plotting outside the bounds of
a 2D contour plot

Please merge to 5.3.2