Optimise single-object nodes

This appears to provide a ~10% win on device.