another fix for a JS-related unresponsive UI