fixing Window.fitCircle