Be sure that, for both the .22 and your 9mm, you grip the gun so that the central axis of the barrel is lined up with the central axis of your forearm when viewed from the top. With this grip established, be sure you engage the trigger halfway between the first joint and the tip of your finger. This should help you pull the trigger straight back as well as ensuring that recoil is straight up.
I have found that .22 translates very well to skill with centerfire calibers. I have not had the same good results trying to transfer airgun skills to powder-propelled pistols.
Sent from my iPhone using Tapatalk