fixed position calculation on frame scaling; fixed unused image space on stroking