untested fix to horizontal target detection