Fixed the backspace issue when using the RPGCode prompt function