fixed displaying partially active attributes (fixes #295)