add get/set for width/height in new renderer

re-written to use float instead of object and set_vertex_attr instead of resetting all vertex attrs