Fix #2224. Make ground layer dynamic again.