Why are there in-between colors in my pixel game?