Typo in comment and ensure the alignment is set (immutable object).
Resize first and then centre