public override void OnResize(int width, int height)
 {
     input.CalculatePosition();
     base.OnResize(width, height);
 }