you're not that far off, at ~40000km you'll meet Duna's sphere of influence. play around with the maneuver nodes: from the screenshot you seem to be a little "late", I think a correction burn in a combined prograde plus radial inward direction should help. do it right away, and then correct the orbit inclination at the AN node.