Problem using override_goto and do_reposition

I have been using jmavsim to test and create a custom gcs. I have been trying to add the ability to click on the map and for the drone to fly to that point. I have tried both override_goto and do_reposition and have been unable to get either of them to properly work. I also looked at how qgc does its goto message however the drone doesn’t go to the point but goes to the last mission item. I have been trying the messages while the drone is in mission mode and is armed and flying. If anyone has any insight that would be much appreciated.