Navbar: Changed active state logic. Fixes #5707

Removed workaround for #1181. Fixed that issue by addressing the actual cause: event.target returns ui-btn-inner instead of the anchor