Trigger resize before setting center.