Update the VSync search and solve issue #1