Is the alignment of nematics on a polymer slab always along the rubbing direction? A molecular dynamics study