Fix camera tracking bug