BfPixelBuffer/BfPixelsWrapper buffer size fixes

Should resolve tickets #10189 and #10202 (i.e. projection issues).