fix display of equation image