Fix tile crash