Fix a bug which is not to be able to display marker correctly.