Flatten positions into frame