It's not by accident. Found this tidbit from the writer.
"...Bezzerides wrote of the script: "I wrote it fast because I had contempt for it... I tell you Spillane didn't like what I did with his book. I ran into him at a restaurant and, boy, he didn't like me"