Make sure tilelayer loads on a secure connection