Bug fixes

Fixed canvas not being made current when a fig is being drawn and fixed
parentLayer never being set on stickobjects