Fixes a bug in the browser