Fixed rendering to also work in Firefox.