Fix error when used MyPaint brush then run piping, and select image added in the Selected mode, get undefined getRetinaScaling property Fix bug when copy(clipspace) and past, not set correct type, and drawning mode not switch to selected and drawning.