They also have a radar on the ASDS that the rocket locks onto to help it navigate in addition to the GPS. This gives it a much more exact set of coordinates to shoot for so to speak. There was extensive discussion regarding this on r/SpaceX after they managed a virtually perfect bullseye landing several landings ago.