fixes issue #49, and possibly #70 - properly compute and draw child views when layout weights are specified