Fix case where sourceRect on copyPixels is <= 0