avoid potential text kit drawing bug in chapter 23 drawing example