Strange box instead of shadow problem with depth maps?

I have a student who has modelled a shark and then imported it into that caustic underwater scene in paint fx, he then added paint fx sea plant life etc… But the shark casts casts a box shape shadow, if i turn the depth maps off it casts no shadow at all, can’t quite figure out why its doing this? then if i render in mental ray the shadow is fine but the paint fx dissapear