Fixed Bug in DrawPixel Method