[TIMOB-18283] Fix repeatCount for imageView

Test is in [JIRA](https://jira.appcelerator.org/browse/TIMOB-18283)