fix canvas render on native