fixed crash when using default background color