Added recenter functionality to UI.