res:dock:: fix tray wrong behavior