Fix for Chrome/MacOS X