Fix a leftover in GenericList that causes layout breakups.

Signed-off-by: Yoshi2889 <rick.2889@gmail.com>
Merge pull request #2007 from Yoshi2889/genericlist_fix

Fix a leftover in GenericList that causes layout breakups.