Text changing when clicking or hovering on smart shape

When I click on or hover over a smart shape in my published project the font size/type changes. How can I prevent this?