Custom brushes become broken after a while

Hey! I’ve had some pretty serious issues with custom brushes in the last few days. I’m on self-compiled version 1.3.15.2 but I’ve tried and the issue persists on the most recent code as well. I’m on Windows 10.

I’m not sure exactly what causes the issue but, after using, creating and deleting custom brushes, they start to act all strange.

I’ve had the issue start after I kept making new brushes and deleting old ones. Sometimes the issue starts after I use a brush a lot and try to change to another one. It almost seems like the old brush somehow becomes stuck or something and you can’t change away from it. Restarting the program seems to fix it, but of course it would be better if the issue didn’t exist at all.

I have tried using the “Preferences→ Reset → Reset user brushes” and deleting the “user.aseprite-brushes” file manually. The issue came back no matter what.

Has anyone else ran into this, or can anyone recreate the issue by creating, using and deleting some custom brushes, or is the issue caused by something in my installation or config or something else?

Below are some examples of the issue:

Here’s a video of custom brushes doubling in height. I have no idea what caused it to happen and it hasn’t happened since:

Due to limits to new accounts, I had to put these here.

Here’s three different instances of the old brush becoming stuck somehow. After releasing the mouse button, the brush is replaced with the old brush and color.