Fixes weird vertical spacing on figure images.