fix flickering bug in new plantlike method of drawing leaves