fixed desktop show bug fixes frappe/erpnext#1757, frappe/frappe#607