Spin orientation of supermassive black holes in active galaxies