Fix page box bug in DrawingTracer (#404); add more debug output.

Fix #404