Bugfix: adjust flow by using each support layer's height instead of a bogus one. #2269