Fixed bug with certain drawing operations

- fixed a bug to use the viewer's mapping operation if non was supplied
  by the canvas object