Fixed bug with snapping blocks to grid.
Fixed autoscaling and drawing last lines bug.