fix for variables toggling their status when the user clicks away

Fixes:
https://bugs.launchpad.net/mudlet/+bug/1369503