fix canvas bg resize