[TIMOB-15747] Use CENTER_CROP to scale and fit the image

https://jira.appcelerator.org/browse/TIMOB-15747
I debugged it and just changing the line 374 seems to be working as viewWidthDefined is false when left and right are set. Also, the special condition you mentioned above in the code is not required for both height and width as the condition will be always true.