pushed cursor class into FancyPuffBox and fixed cursor transmission issue