Fix bg color inconsistency on query view