editor bugfix: switch x/y coordinates on matrix