Set title bar view's background to gradient

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