Fixed lines

Lines look better and are placed correctly now, and box placement scales
properly.