Adjust scaling to match window sizing.