Ensure sticky titles z-index is above vertical tabs

Fixes #1040