fixed pixel color check issue