sounds like it could be a bit of a bug. or maybe it seeks out the wrong enemy from the player's perspective?
If so, it seeks a super weird enemy. This has happened when there was only one enemy on screen and the homing shot just flew off to screen upwards in search of... something