The kernel update didn't fix the problem, I thought. But now I know what the bug is about. This happens when you enable vertical sync in the settings of xfce.