Agreed, it's tricky!
My suggestion is to apply very gentle control at first as you enter orbit... however, when you are returning to the portal you need to apply a bit more thrust to get out of the gravity well of the planet.
Thanks for giving it a play!