Fix mistake in calculating dimensions
Add "transparent" option.