workaround for a firefox oddity (keyCode is always zero, even in pure javascript event handler... ??)
fix some firefox display details