[fix] Fixed layout spacing in GenericFrame