Fixed edge cases in rendering
Fixed edge cases in rendering

Closes https://github.com/PistonDevelopers/piston/issues/530

mitchmindtree/piston,bvssvni/piston,caldwell/piston,bvssvni/piston,axelmagn/piston,PistonDevelopers/piston,KevinFrans3/piston,placrosse/piston,Potpourri/piston,tempbottle/piston,PistonDevelopers/piston,getynge/piston,oldmanmike/piston