Fixed problem with layer depth
Fixed problem with layer depth

Now when the user finishes drawing a path, the layers are immediately
redrawn with the depth priority

DDMAL/Pixel.js,DDMAL/Pixel.js,DDMAL/Pixel.js