Measuring fusion excitation functions with RIBs using the stacked target technique: Problems and possible solutions