fixed broken tracker using OpenCV's pnp