fixed some minor issues with the derez renderer (#39)