Protecting Frame::$data to prevent overflow error Correct frame contents is fetched from ::getContents()