Add automatic unit frame positioning.