Bug fixes for content loading

Signed-off-by: Jamie White <hello@jamie-white.com>