Fixes bug with fork-button in Firefox