Ensure paint event works