Fixed missing caption handling.