I am getting strange results with .grabScreen in landscape

So when i ofImage.grabScreen in portrait mode everything is fine - here is the result after a grab, crop, rotate

if i do the same thing in landscape then it turns out like this:

Is this an inherent limitation, or a bug in grabScreen?