correction probleme rafraichissement canvas