Automatic alignment with rotated components

There was another thread about this: Wrong forced vertical automatic alignment - #13 by SCarewe