Rewrite centerAt using deferred
Added text box