Ensure correct frame format.