html autocleanup
Fix "Draw!"/"Wait!" state switch for the button

Is it a fix? Is it an ugly bug workaround? I have no idea.