Boundaries effects on the movements of a sphere immersed in a free surface flow