Add support for changing vsync mode