I think making the controls into actual button elements would fix this. (Suspecting they are divs with onclick handlers now.)