 				@_errorLayer = null
 
 			@_errorLayer = error
+			@resize()
 
 		return @_errorLayer
 
 	resize: =>
 		return unless @_errorLayer
-		@_errorLayer.width = Screen.width
-		@_errorLayer.y = Align.bottom
+		@_errorLayer.width = Canvas.width
+		@_errorLayer.y = Canvas.height - @_errorLayer.height
 		@_errorLayer.text.size = Utils.frameInset(@_errorLayer, Config.textInset)
 		@_errorLayer.text.point = Align.center
 

				scale: 1
			curve: "spring(800, 55, 10)"
		
		# Terrible hacky fix for blurred text bug on Chrome desktop
		if Utils.isChrome() and Utils.isDesktop()
			animation.onAnimationEnd ->
				Utils.delay 0, -> error.text.html = message + " "
		
	destroy: ->
		@_context?.destroy()


			error = new Layer
				name: "error"
				y: Align.bottom
				width: Canvas.width
				height: Config.height
				backgroundColor: "rgba(255,0,0,1)"
			
