Fixed background merge bug

The bug caused the contents to be off-set