     @$preview.css 'background-position', "#{@offset.x}px #{@offset.y}px"
     if @options.imageBackground
       @$imageBg.css
-        left: @offset.x + @options.imageBackgroundBorderWidth
-        top: @offset.y + @options.imageBackgroundBorderWidth
+        left: @offset.x + @imgBgBorder[3]
+        top: @offset.y + @imgBgBorder[]
 
   fixOffset: (offset) ->
     return offset unless @imageLoaded


    if @options.imageBackground
      @$imageBgContainer.css
        width: @previewSize.w + @options.imageBackgroundBorderWidth * 2
        height: @previewSize.h + @options.imageBackgroundBorderWidth * 2

    if @imageLoaded
      @setupZoomer()

        .css
          position: 'absolute'
          zIndex: 0
          left: -@imgBgBorder[3] + window.parseInt @$preview.css 'border-left-width'
          top: -@imgBgBorder[0] + window.parseInt @$preview.css 'border-top-width'
          width: @previewSize.w + @imgBgBorder[1] + @imgBgBorder[3]
          height: @previewSize.h + @imgBgBorder[0] + @imgBgBorder[2]
        .append @$imageBg
      @$imageBgContainer.css overflow: 'hidden' if @imgBgBorder[0] > 0
      $previewContainer
        .css 'position', 'relative'
        .prepend @$imageBgContainer
