Make visual differ work properly with proxies