Fixed Basic Shapes

They were not rendering at times due to a bug in my new texture_set
function. Please merge.