Bugfix for boolean logic of displaying cast icon in HTML5
[Fixes #79465380]