Nvidia released a GeForce 398.8 hotfix driver. It fixes Windowed G-Sync mode may stutter after upgrading to Windows 10 April 2018 Update.
Download