Fix rendering of single hidden layers