The pic is out of focus because there are two intertwined levels
The coin and the background
If your camera has point light and focus measurement you have to activate this
point instead of area
If not
Raising the coin someway from the background would solve the problem too
( like balancing it on the head of a screw )