Avoid paint creation in draw method