Implemented SCALE_FIT and SCALE_FILL scale modes for drawing textures.
Fixed some issues with cropping subregions.