test to reproduce tracebacks in #39
fix for #39 Pile.mouse_event error on empty pile