Ceiling fixture crossbar with 45° rotation
They make a lot of different crossbars and adapters, including some that swivel. Have you tried one like these?:





I recommend a good ol' local mom and pop hardware store rather than some big-box warehouse chain store.