Fixes https://github.com/turt2live/matrix-dimension/issues/176 Part of https://github.com/turt2live/matrix-dimension/issues/141