fixing canvas