Kubica in hospital after leg surgery