Are you trying to hit the F keys after selecting cure on the action bar? Or are you using a macro that casts Cure on your current target? If it's the latter you might want to change the macro to <stparty> instead of <t> so you can hit the macro, then select a target.