Fix fragment render for firefox