Set title bar view's background to gradient

If a gradient is set we'll draw gradient instead of using window's background color.