Bob's Right
Bob is exactly correct. While in the standardized rules scratches and other shooting fouls count for -1 point each, when there is no referee present and an inadvertent foul, as you stated requires the ball(s) moved, to be replaced at as near the original position as possible...