Fix checkbox and math autofocus

For some reason checkboxes outside Aloha are being reset by the table plugin. This restricts the table events to only occur on Aloha tables. Fixes Connexions/webview#544