reimplement bitmap region clamping to be more robust & fix crash in MCImageBitmapCopyRegionToBitmap
Merge branch 'bugfix-10910' into release-6.0.2