added function callback parameter to flood fill fx