Fixed transfer function display bug