Fix layout to also work in Firefox