Consistent focus problem with D50
Are you using AF-S focus mode? Are you using the automatic focus point selection for AF area?
If you have AF-A or AF-C the focus lock is just approximate and with closest point this would be another cause.
If you are using AF-S and Single Area for focusing it may be your lens. Have you tried with another one?