Alignment mark detection