bugfix for flash message display bug in FOSUserBundle base layout, see upstream issue #978