Fixed vertical scrolling bug in titlebar