Fixed GpuSurface _search function, which was leaky and slow.