[TIMOB-13735] Fixed a crash when setting horizontalWrap