Fix background color assertion (remove dup code)