Fix bug that blanked content in details window