It seems like reinstalling windows fixed the problem. I think it was a broken driver or something. I hope it won't occur again :D