diff --git a/packages/mindplot/src/components/Topic.js b/packages/mindplot/src/components/Topic.js
index fbabd451..aa7e9691 100644
--- a/packages/mindplot/src/components/Topic.js
+++ b/packages/mindplot/src/components/Topic.js
@@ -1286,8 +1286,9 @@ class Topic extends NodeGraph {
});
// Adjust all topic elements positions ...
- iconGroup.setPosition(padding, (topicHeight - iconHeight) / 2);
- textShape.setPosition(padding + iconGroupWith + textIconSpacing, (topicHeight - textHeight) / 2);
+ const yPosition = Math.round((topicHeight - textHeight) / 2);
+ iconGroup.setPosition(padding, yPosition);
+ textShape.setPosition(padding + iconGroupWith + textIconSpacing, yPosition);
} else {
// In case of images, the size is fixed ...
const size = this.getModel().getImageSize();
diff --git a/packages/mindplot/test/playground/map-render/html/viewmode.html b/packages/mindplot/test/playground/map-render/html/viewmode.html
index 76469067..c9ca7192 100644
--- a/packages/mindplot/test/playground/map-render/html/viewmode.html
+++ b/packages/mindplot/test/playground/map-render/html/viewmode.html
@@ -27,9 +27,10 @@
-
+
-
+
+