Fixed toolbar hiding error.