added rect/circ/circle support for IE < 9