Well I finally figured it out. The socket for the SID must be worn out. I simply inserted another socket into the socket(which has bigger pins than the SID of course) and put the SID in that. Everything works perfectly fine now. And I just bought a new C64 too.. Oh, well!