Thanks for the observation! I’ve implemented your suggestion (now it only calculates the mask size during init)
The get_size function was actually provided by Feniks a long time ago when I asked in DevTalk and I’ve been using it since.
Would you mind if I update the bar (and other stuff that uses get_size)? Of course you’ll be mentioned in the credits as the one who suggested this change.