Fixed bug in TMS GUI for IDW grids