[fix] canvas bug