Calculate _globalMatrix for all drawn items and use it for the drawing of selections.
Move handling of clipping outside of draw function, so canvas context can correctly be saved and restored for clipping paths too.
Minor tweaks.