fixed mouse up event when app opens