C172 autopilot issue

This is what will happen when applying control input with AP engaged in MSFS. Completely wrong implementation: