fixed bitmap overflow bug in poly2bitmap