Make sure layer projection is set