Fixed display issue when using the BS3 theme (Servlet3-compatible only)