UIContext now keeps track of dimensions, allowing us to reduce use of display.h