My company recently purchased a Canon 5D digital SLR and a 17-40mm wide zoom lens for it as un upgrade from our previous Olympus E1 which we've been using for years. We shoot primarily small items like model train cars and such on a tabletop with three softboxed strobes. The big problem between the Olympus and the new Canon is that the depth of field is lousy, even at f/22. Of course what we really need is a nice view camera with movements, but we're stuck with this for now.

Hey, it wasn't my idea to get this stuff!

Is the lens the main culprit or perhaps the increased sensor size? I don't shoot the photos myself and didn't have anything to do with this selection of gear, but I do have to retouch these shots and they look terrible. Blurry ends of the cars and such. I'm not really up to speed on the digital SLR world so I'm not sure what type of lens would be a better solution. I know that there are some tilt-shift lenses out there. With that damn wide ass zoom, even at 40mm you have to jam it in really close. I think it was not the greatest choice. Hmmm. Any suggestions for how to fix this? Thanks!