fixed bug where bg image was offset incorrectly