Fixed the issue with the Viewer widget showing some extra space in some equations (closes #298).