You have to be light on your feet.
Your situation is exactly why I would never grab my mooring from the cockpit. Ease your nose into the wind so that the bow is directly into the wind at a safe pace, depending on how hard the wind is blowing, try to come to a stop with the boat in neutral and the bow within reach of the can. It takes some practice and it will vary dependent on the wind, but you can do it.
Than you make a mad dash forward to secure yourself. (Just kidding)
Becareful if you get blown off, than you have to make a mad dash back to the helm and get her in gear immediatly.
But, at least you should not have any lines near your prop.