Fixed crash in browser startup on Mac