Update controller.js

Add support for shadow in freeDrawing mode
Should i add it?