v2.2.13: Refactors redraw handler logic
Simplifies the redraw handler by removing the conditional check for callable onRedraw, as it is always callable due to the previous type hinting. This improves code readability and maintainability without altering the functionality.