Correct htmltext toolbar z-index when scrolling (closes #3923)