check tile visibility before rendering