fix flood fill only working on first click