Fix dialog position