better tile selection view, fencepost error fixing