Displacement is now saved locally in stead of globally.