EffortDisplay: Added a check to avoid segfaults when receiving a joint state without efforts