Drone drifts away during IR based precision

Hello everyone.

I am working on precision landing my quadcopter using a cube orange plus flight controller with PX4 firmware. As the drone enters precision landing mode, it starts to drift away and move as far as possible when descending above the IR beacon. But it lands perfectly when I use Ardupilot Firmware. Also, I have to manually start the IR lock driver in the mavlink console every time I reboot. Is there a way for the driver to start automatically?

Any help would be really appreciated.

Thanks and regards,
Yeshes P