The issue has been fixed in hydro-devel branch ofhttps://github.com/ros-visualization/rviz.git . The commit that points to this is https://github.com/ros-visualization/rviz/pull/716 It is still not applied to rviz-release.