diff --git a/index.html b/index.html
index 1645c173..1297c16b 100644
--- a/index.html
+++ b/index.html
@@ -17382,7 +17382,7 @@ behaviorRules = {
renderPostPixelList[i](ctx);
}
}
- const hoverPixel = getPixel(mousePos.x, mousePos.y);
+ const hoverPixel = getPixel(Math.round(mousePos.x), Math.round(mousePos.y));
if (hoverPixel) {
if (elements[hoverPixel.element].hoverRender !== undefined) {
elements[hoverPixel.element].hoverRender(ctx);
@@ -18120,7 +18120,7 @@ behaviorRules = {
view = n;
}
function centerMouse() {
- mousePos = {x:width/2,y:height/2};
+ mousePos = {x:Math.round(width/2),y:Math.round(height/2)};
}
function handleElementButtonClick() {
diff --git a/style.css b/style.css
index c3512c3e..6a022f98 100644
--- a/style.css
+++ b/style.css
@@ -627,8 +627,6 @@ input[type="button"]:active, input[type="button"]:active:hover {
display: -ms-flexbox; /* TWEENER - IE 10 */
display: -webkit-flex; /* NEW - Chrome */
display:flex;
- align-items: center;
- justify-content: center;
}
#categoryControls button {
/* Borderless buttons */