Fixing bug where scaletype cannot be changed from styles.

Inline attributes override styles. Therefore this is always "centerCrop"
unless the line is removed.