Remove wrong application of the active class

Fixes #726