Fixing bug where scaletype cannot be changed from styles.

Inline attributes override styles. Therefore this is always "centerCrop"
unless the line is removed.

I think this is a pretty straightforward bug fix. Let me know if I'm missing something. Thanks for all the help.