changes colors, fixes edge cell rendering