Bugfixes for fragment display.