Make setting y and height independent