Recalculate bbox size when selected.
trying to check if mouse is inside polygon. not working.