Modified cursor test to swap on refresh callback. Avoids cursor flickering on osx vm.