sorting
fixed crash
brush:
fixed wrong size when rotating