Use S-shape screw then it will go in offset hole but be in right place at the surface. (jk) seriously maybe you can do it with the screw just not going in totally straight which would probably be only a quite small cosmetic issue probably could ignore as long as the purchase of the screw is good
there could be one nail in a whole wall and Murphy says, you'll probably hit it
hitting electrical is worse especially if your drill shorts them out. never had it happen yet, but it can; but usually electrical sockets etc will clue you in where the wiring likely is