Implement setting pixel colors properly