Complex sentence: The engine would automatically display the proper balloon based on the mouse location and the item's current state, and also position the balloon using a clever algorithm to keep it away from the objects being examined.
Split into simpler sentences: The engine would automatically display the proper balloon based on the mouse location and the item's current state. It also positioned the balloon using a clever algorithm to keep it away from the objects being examined.