Fixed clearPixel to actually clear the right pixel. Bitwise operators, FTW!