Fixes for non-webkit browsers.