Clean up of render stuff

SpoutAPI:https://github.com/SpoutDev/SpoutAPI/pull/567
Signed-off-by: Jack Huey kitskub@gmail.com