Issue #2479983 by lasension, jsacksick: Fix the view modes list when "display the rendered entity" option is checked.