Properly remove a certain class

`RES-keyNav-activeElement` was being remove from the wrong places