It may just be lag.

My recommendation: relog. If that doesn't work, turn down visual settings, I.E. Change fancy to fast, remove clouds, turn down max frame rate down, etc.

I see no reason why F3 should interfere with commands. If you think it would help, you can always turn the debug screen off by pushing F3 again.