Refactor object background to object image