No plotitem fix

New version of PR #64, which could no longer be automatically merged.