Working out an issue with calculated content width