Set rendering width/height to buffer width/height
Merge pull request #356 from raven02/patch-1

Set rendering width/height to buffer width/height