WIP
[NEW]: rolled out the complete implementation of draw rect. Now, scaling happens with an anchor point in the middle of the view, and the mask is moved to the center of the view, as well.