Fix caption jumbling