Fix layout issues on Object activity