fix tile boundary check in available_zscan()