fix block node margin bottom when node is last one. #4956