Fixed bug where fragments wouldn't communicate correctly