If I also set it to triple buffer the problem has gone away. Should I report this on the blender bug tracker?