Bugfix. This was a really stupid thing. Java maps X as vertical and Y as
horizontal.