My best guess would be that either your event handler is not called, in order to test that you should try to print something to your console in your eventhandler,
or that your line is being drawn somewhere else.
When I first rendered a custom block it was drawn at the coordinates 0, 0, 0 in the world.