x is columns and y is rows

Now it should be correct everywhere.