Positioned line and word boxes correctly.