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

https://jira.appcelerator.org/browse/TIMOB-15747
Why do you treat this as a special case but ignore the similar condition in line 391? Or why not add 
if (!viewHeightDefinedLocal)
in line 391 too?