Fixed bug fix to #762
Merge pull request #784 from lossyrob/fix-renderop

Fixed bug fix to #762