Flip tile Y coord before checking tile availability.