sync export to png with rendering on the page