BHV-19352 (2.5)

Merging https://github.com/enyojs/enyo/pull/958 into `2.5-upkeep`, opening a PR for tracking purposes.