Fix the endless redraw bug when used with Chrome.

Cf. https://github.com/mjhsieh/McBopomofo/issues/73