Fix table presentation and event handling in Firefox