Added if before calling _fragbit.