Fix window path finding