Objects moving after HTML5 publishing

I have a question about how to prevent objects from moving on a project after publishing the file in HTML5. I recently developed a project in Captivate 8 and Captivate 2017. When I publish as a .swf file the objects stay where they are placed. When I publish the file as HTML5, the objects move a couple of pixels to the left. Is there a setting that prevents this from happening?