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