Fixed little bug in ryDraw II

1. Fixed little bug in ryDraw.