Controversies knock Obama off balance