diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
index 73a5216..131b98e 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -247,9 +247,8 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
if (document.getElementById('aaDetailPageDiv') != null) {
//0.4 added some stylesheets
- $('.aaBodyView').css("height", $(window).outerHeight() - $('.navbar-fixed-top').height());
- $('.aaBodyView').css("width", $(window).outerWidth());
- $rootScope.canvasDivHeight = $('.aaBodyView').height();
+
+ $rootScope.canvasDivHeight = $('.jsPanel-content').height() - $('.main2 .stickey-area').height();
$('.canvasDivClass').css("height", $rootScope.canvasDivHeight);
diff --git a/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js b/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js
index 9acca44..84a7b9c 100644
--- a/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js
+++ b/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js
@@ -2858,7 +2858,7 @@ _html2canvas.Renderer.Canvas = function(options) {
if (/*@cc_on!@*/false || !!document.documentMode) {
var imgData = canvas.getContext("2d").getImageData(bounds.left, bounds.top, bounds.width, bounds.height);
- ctx.putImageData(imgData, 50, 0);
+ ctx.putImageData(imgData, 0, 0);
}
else {