[REGRESSION] Fix absolute brush rotation on rotated canvas
The regression was caused by c74ddaf2991833c7c587dec47f53456ec36304e2
BUG:292726