Added logs to debug positioning