background image preview fix