Changed how content is colored, fixing a crash when window is too small.