changed how x and y are allocated in ARView