gambatte_qt/framework: fix broken js event filtering

do continue while false==true ...