 
     @addBackground(0, 20,   @deck(0, no,  w: 900, z: -20).addComponent('BackDeck'), .9)
 
-    dh = Crafty.e('2D, Solid, Collision, BridgeCeiling').attr(w: 1000, h: 30).origin('middle right')
+    dh = Crafty.e('2D, Solid, Collision, BridgeCeiling').attr(w: 1000, h: 30).origin('middle middle')
     @addBackground(0, -60, dh, 1.0)
 
     d1 = @deck(0, yes, w: 1000, z: -10).addComponent('MainDeck')

      else
        w = width - distance + (v * distance)
        h = height - distanceh + (v * distanceh)
      @shift(0, 0, w - @w, h - @h)

    Crafty('WaveFront').each ->
      width = 1200

  height = 65
  @add(0, @level.visibleHeight - 45, Crafty.e('2D, Solid').attr(w: @delta.x, h: 45))

  water1 = Crafty.e('2D, Delta2D, WebGL, waterFront1, Wave1')
    .attr(z: -20)
    .crop(0, 1, 512, 95)
  @add(0, @level.visibleHeight - height, water1)
  #water1.waveY = 0

  water2 = Crafty.e('2D, WebGL, waterFront2, Wave2')
  water1.attach(water2)
