Fixed math.pi problem in drawer.js