fix render issue when targeting iOS