Thanks to YouTube, I have found the scene in question.
https://www.youtube.com/watch?v=-sCPnrRJFT4
Looking at it more closely, the wrench definitely changes from the one he grabbed at 3:53, into something larger, and looking more like a fixed crescent wrench than an adjustable wrench. Maybe the wrench is actually presenting itself as something different than what it really is, like the “Western Electric” old phone ring setting I have on my iPhone. Then, it changes shape after being grabbed to its real self. That would explain the whole thing!
The biggest problem I have is more mundane. How is it that a wrench would just be left lying around on a spaceship — which moves very fast on impulse drive? Scotty would have the hide of any crewman, who just left tools lying around, unsecured.