Modified the draw function for Robot and Object so the visTransform is taken into consideration