fix a bug of reset camera position