fixed a bug in addition to removing borders from water at map edges