Adjust menu corner direction with trayicon coordinate.