Fix the admin bar hiding error on Safari and some versions of Chrome.