fix dot resizing