That's what's going to happen. To shift you will most often have to move your foot off the peg. Eventually you will automatically compensate for the movement so your steering isn't affected. Again, having ridden a trials bike where you can not touch the lever while on the peg, it is all in the learning process. You just have to get used to it.