Cast imageview fix