fixed error I did when applying Martin Hurton's drawtext patch