Fixed boundary bug in inflation layer.