Fixed halfway vector issue