Fix compatibility with KnpMenu bundle