Strange matplotlib zorder behavior with legend and errorbar

I encountered a rather strange behavior of legend and the errorbar plot commands. I am using Python xy 2.7.3.1 with matplotlib 1.1.1 The code below exemplifies the observed behavior: import pylab...