Refresh the compositions' projection before export
And restore the current composition after export. BUG:412953
(cherry picked from commit 30915e552498de7b23d7bda824bb4b9e08b828b7)