Fix a bug about getting splash image path