[gui] fix crash if an info expression (with square brackets) wasn't correctly closed off by a skin.