Changed native window declaration to fix vsync