Fix math. Slight modification to subview addition order.