Fix sending commands and the rotate right command.