Bugfixing in the invisibility module