Fixed massive error in rendering of background color based on the region readings