Fix duplicate direction arrow issue