align plugin calculate correct angle