Path preview working, but flickering position bug