Added recalibrate if window was moved