moving canvas and board to global obj