I don't know why this is happening, but I build my assemblies the same
and put them together. I find it simpler to draw the stiles and rails
separately(with mortises & tenons on them) and then move them
together. Are you grouping or making components out of each piece
(rails,stiles,etc.)?