Fixed floodfill, but found out how to break it