Fix findviewbyid if viewid is null.