Minor Bug Fix for If

Previous code didn't perform If statement correct when given the
following chain of commands:
- IfCommand
- MoveCommand
- Jump
Fixed by delaying If statement by a certain factor