Fixed toolbar disappearance bug