Fixed console disappearing on collapse