Fix false timeout problem in MatchTexture test