Added "layer:setViewport" method to limit drawing area