Fix for dynamic displacements and wall/outflow boundaries