I would try to identify why the keymodifier is not working, like are you using Simulate Click or Windows Message?
But, there is an alternate way using TypeInto. TypeInto "[d(rctrl)]" TypeInto "[u(rctrl)]"
So the “d” peforms a down keypress and keeps it down, then you can use Click. Following you use the “u” for an up keypress to unlock the ctrl key.
Good point @Dave
You might need to surround the Click with a Try/Catch so you can unlock the Ctrl key, while using this workaround. Also, I run into locked keys alot and the solution is usually to press both Alts, both Shifts, and both Ctrls rapidly… if you ever run into the keys acting weird like that.