They sorta always target the location where the ship has been before but that was unnoticeable.
In this case it's at least 10-20 meters behind the actual ship which makes them miss almost all the time for smaller targets.
This gif also has the missile turn speed cranked up to show the points they're aiming for: