Added checks to make sure that the rectangle for the source bitmap is fully contained within the frame buffer.
Added checks to make sure that the rectangle for the source bitmap is fully contained within the frame buffer.

vworkspace/FreeRDS,vworkspace/FreeRDS,vworkspace/FreeRDS