override set frame to update the size of the lines