In CreateBitmap, only crop if necessary