In French and Italian sometimes the same preposition is used to describe a fix position and a mouvement. In Italian, in, and in French, en the same preposition is used for a fix position and a mouvement. . In Italian we say "Vado in Francia", I go to France, and "Sono in Francia", I am in France. Similar in French: "Je vais en Angleterre", I go to England. <=> "Je suis en Angleterre", I am in England.
In Spanish and Portuguese in general different prepositions are used, although there are exceptions.
a to describe a fix position
Ao fundo do quarto, um quadro nos chama atenção.
At the background a painting draws our attention.
However normally the preposition em is used in case of a fix position and the preposition a in case of a mouvement.