removing and inserting canvas in dom each time to help with android issue