fix for when figure left at end of layout