Add out of bounds check to DrawPixel