session: Fix visual glitch with rendered titlebar widget