Split all get methods for sizes and positions into x and y methods

This fixes a lot of stack overflows when using the `max` value