Fix to use width and height correctly in flex-layout-impl.cpp