Fix try to center if not pan