fixed square cap line rendering