Fix WebViewViewport API test to check the reference pixel relative to their neighborhood. The color of the reference pixel could be different depending of the video driver.

Reviewed by: Hugo Parente Lima