Fix popup over issue if height is set to auto