Fix bug introduced into plain renderer