Improve unit frame positioning.