Fixed OverflowError in draw