fixed background image scaling issue for non standard dimensions