Fixed frame setting when using the line method in C4Shape.

Fix #117 Works for subclasses of C4Shape as well (i.e. I created a
basic C4ShapeSubclass and implemented a test using that).