Fixed resize bug with order of control creation.