fixed canvas data display bug