lukis::preparePainting => set eObj to empty object if its not defined. This is the case for pencil drawing