Fix tile checks