Fixes bug where brush was not disappearing