Fix warning and set proper color to draw BGs