layout-fill firefox fix

Fixed layout-fill for Firefox so it only fills