fixed problem with merging islands not detecting an island in an island (wrong offset) better island merging from user input