Monkey-patch issue with active class not added