Fix window title

Ticket: #5917