Scale target rectangle to match frame