fixes #5494
Merge pull request #5513 from dotCMS/issue-5494-status-bar-disappear-after-refresh-twice

fixes #5494